package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by GDC on 2018/8/19.
 */
@RestController
@RequestMapping("/main")
public class MainController {

    @GetMapping("/index")
    public String index(){
        return "hello";
    }
}
